<?php
/* DEFAULT SITE VALUES */
/*******************************************************
configure site defauts, $userconfig->site['personnelid']=1; for single user mode
$userconfig->websiteconfig['entriesperpage']=8; // REQUIRED int(); setup pages for record windows, 
*******************************************************/
$userconfig->site['personnelid']=1;
$userconfig->site['companyid']=1;
$userconfig->websiteconfig['entriesperpage']=8; // REQUIRED int()

/* DEFAULT PAGE TITLE */
/*******************************************************

*******************************************************/
$userconfig->websiteconfig['title']='v4!';

/* DEFAULT DIR PATHS */
/*******************************************************

*******************************************************/
$userconfig->mainconfig['defaultdirpath']='';
$userconfig->mainconfig['defaultpage']='index';

/* LOADING && PROCESSING SCREENS */
/*******************************************************

*******************************************************/
$userconfig->websiteconfig['page_loading']='<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr valign="middle"><td align="center" style="text-align:center;"><b>. . . LOADING . . .</b><br><img src="'.$userconfig->mainconfig['dir'].'art/loader.gif" alt="Loading..."></td></tr></table>';
$userconfig->websiteconfig['page_processing']='<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr valign="middle"><td align="center" style="text-align:center;"><b>. . . PROCESSING . . .</b><br><img src="'.$userconfig->mainconfig['dir'].'art/loader.gif" alt="Loading..."></td></tr></table>';


/* AUTHENICATION && PERMISSIONS */
/*******************************************************
$userconfig->mainconfig['include_authentication']='';   // switch on permissions and login functions '1'=on : ''=off
$userconfig->site['authtimeout']=15; // time in minutes of user idle
$userconfig->site['defaultpermission']='' // overrides all; '' disables; switch 'allow' : 'deny'
$userconfig->site['defaultpagepermission']='allow'; // switch 'allow' : 'deny'
$userconfig->site['defaultfieldpermission']='allow'; // switch 'allow' : 'deny'

*******************************************************/
$userconfig->mainconfig['include_authentication']='';
$userconfig->site['authtimeout']=15;
$userconfig->site['defaultpermission']='allow';
$userconfig->site['defaultpagepermission']='allow';/* REQUIRED str()*/
$userconfig->site['defaultfieldpermission']='allow';/* REQUIRED str()*/

/* HKCAPTCHA */
/*******************************************************

*******************************************************/
$userconfig->site['hkcaptcha_charactors']='123456789';
$userconfig->site['hkcaptcha_charactorlengh']=5;
$userconfig->site['hkcaptcha_perturbation'] = .7; // bigger numbers give more distortion; 1 is standard
$userconfig->site['hkcaptcha_imgwid'] = 200; // image width, pixels
$userconfig->site['hkcaptcha_imghgt'] = 100; // image height, pixels
$userconfig->site['hkcaptcha_numcirc'] = 0; // number of wobbly circles
$userconfig->site['hkcaptcha_numlines'] = 0; // number of lines
$userconfig->site['hkcaptcha_ncols'] = 20; // foreground or background cols

/* HTML defaults */
/*******************************************************

*******************************************************/
$userconfig->websiteconfig['body_topmargin']='0';
$userconfig->websiteconfig['body_leftmargin']='0';
$userconfig->websiteconfig['body_bgcolor']='#FFFFFF';
$userconfig->websiteconfig['body_text']='#000000';
$userconfig->websiteconfig['body_vlink']='';
$userconfig->websiteconfig['body_alink']='';
$userconfig->websiteconfig['body_link']='';
$userconfig->websiteconfig['meta_desc']='';
$userconfig->websiteconfig['meta_keys']='';
$userconfig->websiteconfig['body_onload']='jsloadingscreen();';
$userconfig->websiteconfig['display_frame_bgcolor']='#000000';

/* vehicles defaults */
/*******************************************************

*******************************************************/
$userconfig->websiteconfig['vehiclephotodir']='external/inventory_vehiclephotos/';
$userconfig->websiteconfig['vehiclephotourl']=$userconfig->mainconfig['dir'].$userconfig->websiteconfig['vehiclephotodir'];
$userconfig->websiteconfig['vehiclephotojpeg_thumb_width']=125;
$userconfig->websiteconfig['vehiclephotojpeg_thumb_height']=125;
$userconfig->websiteconfig['vehiclephotojpeg_page_width']=560;
$userconfig->websiteconfig['vehiclephotojpeg_page_height']=600;
$userconfig->websiteconfig['vehiclephotojpeg_max_width']=1024;
$userconfig->websiteconfig['vehiclephotojpeg_max_height']=1024;
$userconfig->websiteconfig['vehiclephotojpeg_save_quality']=75;
    
/* Authorize Dot Net User Specified */
/*******************************************************


*******************************************************/
$userconfig->site['authorizedotnet_x_login']='';
$userconfig->site['authorizedotnet_x_tran_key']='';

/* Authorize Dot Net defaults */
/*******************************************************
$userconfig->websiteconfig['authorizedornet_transactionurl']='https://secure.authorize.net/gateway/transact.dll'; // REAL Server
$userconfig->websiteconfig['authorizedotnet_transactionurl']='https://test.authorize.net/gateway/transact.dll'; // TEST Server
*******************************************************/
$userconfig->websiteconfig['authorizedotnet_transactionurl']='https://test.authorize.net/gateway/transact.dll';
$userconfig->websiteconfig['authorizedotnet_defaultfield_x_version']='3.1';
$userconfig->websiteconfig['authorizedotnet_defaultfield_x_delim_data']='TRUE';
$userconfig->websiteconfig['authorizedotnet_defaultfield_x_delim_char']=',';
$userconfig->websiteconfig['authorizedotnet_defaultfield_x_encap_char']='"';
$userconfig->websiteconfig['authorizedotnet_defaultfield_x_url']='FALSE';

$userconfig->websiteconfig['authorizedotnet_defaultfield_x_email_customer']='FALSE';
$userconfig->websiteconfig['authorizedotnet_defaultfield_x_header_email_receipt']='';
$userconfig->websiteconfig['authorizedotnet_defaultfield_x_footer_email_receipt']='';
$userconfig->websiteconfig['authorizedotnet_defaultfield_x_email']='';
?>
